package net.wofly.common.condition;

import lombok.Data;

/**
 * 排序条件<br/>
 * @version V1.0
 */
@Data
public class OrderCondition {

	/**
	 * 要排序的属性名称
	 */
	private String attrName;
	/**
	 * 排序方向
	 * 来源：Order
	 */
	private String order;
	/**
	 * 排序号
	 * 当前属性排序位置，数字越小，越靠前
	 */
	private Integer sortNo;

	public OrderCondition() {
	}
	
	public OrderCondition(String attrName,String order,Integer sortNo ){
		this.attrName = attrName;
		this.order = order;
		this.sortNo = sortNo;
	}

}